home *** CD-ROM | disk | FTP | other *** search
- Path: news.sni.de!news
- From: Josef Moellers <mollers.pad@sni.de>
- Newsgroups: comp.lang.c
- Subject: Re: i = atoi(NULL);
- Date: 11 Jan 1996 12:32:09 GMT
- Organization: Siemens Nixdorf Informationssysteme AG, Paderborn, Germany
- Message-ID: <4d3009$b6f@nervous.pdb.sni.de>
- References: <DKwCsG.IGD@cs.openu.ac.il> <96009.103802DSEAMA41@portland.caps.maine.edu>
- NNTP-Posting-Host: uranium.pdb.sni.de
- X-Newsreader: NN version 6.5.0 #2
-
- In <96009.103802DSEAMA41@portland.caps.maine.edu> Starduster <DSEAMA41@portland.caps.maine.edu> writes:
-
- >In article <DKwCsG.IGD@cs.openu.ac.il>, shimoco@mail.tlm.openu.ac.il (Shimon
- >Cohen) says:
-
- >>i = atoi(NULL);
-
- > One question: why does it matter? Why would you want to do such a thing?
- >Just curious.
-
- You don't "want" to do it, it just happens sometimes.
- Usually, you provide atoi with a non-NULL pointer, but sloppy
- programming might cause it to do otherwise.
-
- Not that I can come up with an example that looks sensible, but then ...
- who am I?
-
- Happy conversions,
-
- Josef
- --
- Josef Moellers mollers.pad@sni.de
-